package com.ewei.support.ldap;

import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;

import javax.net.ssl.X509TrustManager;

/**
 * @author ZRP
 * @version 1 (2015年7月31日下午2:07:41)
 * @since Java7
 */
public class LdapTrustManager implements X509TrustManager {
    public void checkClientTrusted(X509Certificate[] xcs, String string) throws CertificateException {}

    public void checkServerTrusted(X509Certificate[] xcs, String string) throws CertificateException {}

    public X509Certificate[] getAcceptedIssuers() {
        return new java.security.cert.X509Certificate[0];
    }
}